/**
 * 
 */
package cn.g31010.sip.service;

import java.util.List;

import cn.g31010.sip.pojo.Room;

/**
 * @author user
 *
 */
public interface RoomManageService {

	public List<Room> getAllRooms();
	
	public Room findRoomById(String id);
	
	public List<Room> findRoomByName(String name);
	
	public Room addRoom(Room room);
	
	public Room setRoom(Room room);
	
	public Room removeRoom(String id);
	
	public Room addAdmin(String id,String uid);
	
	public Room removeAdmin(String id,String uid);
	
	public Room addBlack(String id,String uid);
	
	public Room removeBlack(String id,String uid);
	
	public Room addWhite(String id,String uid);
	
	public Room removeWhite(String id,String uid);
	
	public Room setOwner(String id,String uid);
	
	public Room removeOwner(String id,String uid);
}
